package com.xbongbong.pro.role.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 系统角色还原接口
 * @author kaka
 * @version v1.0
 * @date 2019/6/5 9:36
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class RoleRecoveryDTO extends BaseDTO {
    private static final long serialVersionUID = 3299662049219010444L;

    /**
     * 需要还原的系统角色id
     */
    @NotNull(message = "{dto.msg.roleRecovery.roleId.NotNull}")
    private Integer roleId;
}
